<!--{template header}-->
<h2><a href="{S_URL}/"><img src="{S_URL}/templates/$_SCONFIG[template]/images/logo.gif" alt="$_SCONFIG[sitename]" /></a></h2>
				<form class="ad_header" id="searchform" action="{S_URL}/batch.search.php" method="post">
				<label>搜索：</label>
				<input type="text" id="searchkey" name="searchkey" size="23" class="input_tx"/>
				<input type="hidden" value="news" name="type">
				<input type="submit" value="搜索" id="submit" class="input_search" name="searchbtn"/>
				<input type="hidden" name="subjectsearch" value="true" />
				</form>
</div>
</div>
<div id="pagebody">
<div id="pagebody_extbg">
	<div id="nav">
		<ul class="main_nav">
			<!--{if empty($_SCONFIG['defaultchannel'])}-->
			<li><a href="{S_URL}/index.php"><span>首页</span></a></li>
			<!--{/if}-->
			<!--{loop $channels['menus'] $key $value}-->
			<li><a href="$value[url]"><span>$value[name]</span></a></li>
			<!--{/loop}-->
		</ul>
	</div>
	<div class="column">
		<div class="box_l col_590">
		<div class="nl_list global_model">
			<h3>	
			<p>您的位置：
				<a href="{S_URL}/">$_SCONFIG[sitename]</a>
				&gt;&gt; $title
			</p>
			</h3>
			<div id="article">
				<h1>投票:$poll[subject]</h1>
				<p id="article_extinfo">投票人数:$poll[votersnum] | 开始时间($poll[dateline])-更新时间($poll[updatetime])</p>
				<div id="article_body">
				投票说明:$poll[summary]
				</div>
			</div>
			<form id="pollform" action="#action/poll/php/1#" method="post">
			<div class="votetab">
				<ul id="tab_vote_top" class="votetab_caption" style="display:none">
					<li class="current"><em onclick="secBoard('tab_vote_top','votelist',1)">参与投票</em></li>
					<li class="normal"><em onclick="secBoard('tab_vote_top','votelist',2)">投票结果</em></li>
				</ul>
				<div class="votetab_cotent">
					<ul class="current" id="votelist_1">
						<!--{loop $poll[options] $okey $options}-->
						<li>
						<!--{if $poll[ismulti]}-->
						<input type="checkbox" id="votekey-$okey" name="votekey[]" value="$okey" class="votekey" />
						<!--{else}-->
						<input type="radio" id="votekey-$okey" name="votekey[]" value="$okey" class="votekey"/>
						<!--{/if}-->
						<label for="votekey-$okey">$options[name]</label></li>
						<!--{/loop}-->
						
						<li style=" height:35px; margin:12px 0 0 0; background:none;">
						<input type="hidden" name="pollid" value="$poll[pollid]" />
						<input type="hidden" name="pollsubmit" value="yes" />
						<button id="dovote" name="pollbtn" type="submit" value="true" class="input_poll"></button>
						&nbsp;<button type="button" class="input_result" onclick="secBoard('tab_vote_top','votelist',2);"></button>
						</li>
					</ul>
					<ul class="normal" id="votelist_2">
						<!--{loop $poll[options] $key $options}-->
						<!--{eval $rand = rand(1,9)}-->
						<li>
							<h6>$options[name]</h6>
							<div>
								<span class="polloptionbar "><strong class="pollcolor$rand" style="width:<!--{eval echo ($options[percent]+1)}-->%;">$options[percent]%</strong></span>
								<span class="pollnum">得票:$options[num] / $options[percent]%</span>
							</div>
						</li>
						<!--{/loop}-->
						<li style=" height:35px; margin:12px 0 0 0; background:none;">
						<button type="button" class="input_backpoll" onclick="secBoard('tab_vote_top','votelist',1);"></button>
						</li>
					</ul>
	
				</div>
			</div><!--vote_tab end-->
			</form>
		</div>
		</div>
	
	<div class="box_r col_350 nl_for_sides">		
		<div class="nl_hot_recommend">
			<h3>更多投票</h3>
			<!--{block name="poll" parameter="order/dateline DESC/limit/0,10/cachetime/80000/cachename/poll/tpl/data"}-->
			<div class="nl_hot_relist" style="width:336px; height:auto; padding-bottom:8px;">
				<ul>
				<!--{if empty($_SBLOCK['poll'])}-->
					<li>暂时没有调查</li>
				<!--{else}-->
					<!--{loop $_SBLOCK['poll'] $value}-->
					<li><a href="$value[url]" target="_blank">$value[subject]</a></li>
					<!--{/loop}-->
				<!--{/if}-->
				</ul>
			</div>		
		</div>

	</div>

	<div class="clear"></div>
</div><!--column end-->
</div><!--pagebody end-->

<!--{template footer}-->